// cover some element-ui styles
$bg: #0da883;
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
.el-button--primary{
  border-color: $bg;
  background-color: $bg;

  &:hover,&:focus{
    border-color: #12d1a5;
    background-color: #12d1a5;
  }

}
.el-button--success{
  background-color: $bg;

  &:hover,&:focus{
    background-color: #12d1a5;
    border-color: $bg;
  }

}
.el-button--infor{

  &:hover,&:focus{
    color: #ffffff;
    background-color: #c7c7c7;
  }

}
.el-radio__input.is-checked .el-radio__inner{
  border-color: $bg;
  background-color: $bg;
}

.el-radio__input .el-radio__inner:hover{
  border-color: $bg;
}
.el-radio__input.is-checked+.el-radio__label{
  color: $bg;
}
.el-header{
  padding: 0;
}
.el-main{
  padding: 0;
  border-top: 1px solid #eee;
}
.el-select .el-input.is-focus .el-input__inner,.el-input__inner:focus,.el-textarea__inner:focus{
  border-color: #12f3bb;
  // box-shadow:  0 0 10px 2px #eee;
}
.el-input.is-disabled .el-input__inner {
  color: #626262;
}

.el-dropdown-menu__item{

  &:hover{
    color: $bg;
  }
}
.el-switch__label.is-active{
  color: $bg;
}
.el-select .el-input__inner:focus{
  border-color: #12f3bb;
}
.el-upload-dragger{
  width: 150px;
  height: 210px;
  &:hover {
    border-color: #12f3bb;
  }
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 150px;
  height: 190px;
  line-height: 190px;
  text-align: center;
  &:hover {
  border-color: #12f3bb;
}
}
.avatar {
  width: 150px;
  height: 190px;
  display: block;
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{
  color: $bg;
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{
  color: $bg;
}
.el-tabs__nav-next, .el-tabs__nav-prev{
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: $bg;
  &:hover{
    background-color: #12f3bb;
  }
}
.el-form-item {
      margin-bottom: 10px;
  }
.el-checkbox.is-bordered.is-checked{
  border-color: $bg;
}
.el-checkbox__input.is-checked+.el-checkbox__label{
  color: $bg;
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{
  background-color: $bg;
  border-color: $bg;
}
.el-checkbox__input.is-focus .el-checkbox__inner{
  border-color: $bg;
}
.el-collapse-item__header{
  font-size: 110%;
}
.el-drawer__header{
  font-size: 120%;
  color: #000000;
}
.el-message {
  min-width: 300px;
  min-height: 60px;
  .el-message__icon{
    font-size: 200%;
  }
  .el-message__content{
    font-size: 130%;
  }
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}
input[type='number'] {
  -moz-appearance: textfield !important;
}
/*按钮点击*/
.el-button--success:active {
  background: #098163 !important;
  color: white !important;
  font-weight: bold;
  border-color: #0da883 !important;
}
.el-button--primary:active {
  background: #098163 !important;
  color: white !important;
  font-weight: bold;
  border-color: #0da883 !important;
}
@media screen and (max-height: 800px) {
    .vxe-modal--box{
      height: 80%;
    }
}
